import Home from '../pages/Home'
import About from '../pages/About'
import Navbar from '../pages/Navbar'
import Test from '../pages/Test'
import Jimu from '../pages/Jimu'
import Login from '../pages/Login'

interface RouteConfig {
  path: string
  component: React.ElementType
}

const routes: RouteConfig[] = [
  {
    path: '/',
    component: Home
  },
  {
    path: '/about',
    component: About
  },
  {
    path: '/contact',
    component: Navbar
  },
  {
    path: '/test',
    component: Test
  },
  {
    path: '/jimu',
    component: Jimu
  },
  {
    path: '/login',
    component: Login
  }
]

export default routes
